package com.cqjtu.store.cart.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "结算查询信息",description = "对结算的信息进行封装")
public class CountDTO {
    @ApiModelProperty("购物车物品id集合")
    private List<Integer> ids;

    @ApiModelProperty("地址id")
    @NotNull(message = "地址id不能空")
    private Integer addressId;
}